package com.zhaoyizhe.demo.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public enum ResultCodeEnum {
    SUCCEED(200,"成功"),
    NOLOGIN(-1,"未登录"),
    FAIL(-2,"异常");

    @Getter
    private int code;
    @Getter
    private String name;


}
